<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/website/common/base.jsp"%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${webname }-企业认证</title>
<%@ include file="/website/common/common.jsp"%>
<link href="${webctx }/css/manage.css" rel="stylesheet" type="text/css" />
</head>

<body>
<%@ include file="/website/common/top.jsp"%>
<%@ include file="/website/common/head.jsp"%>
<%@ include file="/website/common/menu.jsp"%>

<div class="warp-body">
	<div class="inner clearfix">
    	<div class="left-main">
        	<div class="left-inner">
            	<%@ include file="/website/user/left.jsp"%>
            </div>
        </div>
    	<div class="right-main">
        	<div class="right-inner">
            	<div class="right-title"><span></span>企业认证信息 <c:if test="${user.authstate==3 }"><a href="${ctx }/user/certification?showapply=true">重新认证</a></c:if></div>          
                <div class="ente-head" style="height:auto;min-height:95px;">
                	<ul class="ente-head-time">                		
                        <li >
                        	<p>审核状态</p>
                        	<p><em><c:choose><c:when test="${user.authstate==1 }">待审核</c:when><c:when test="${user.authstate==2 }"><font style="color:blue">审核通过</font></c:when><c:when test="${user.authstate==3 }"><font style="color:red">审核不通过</font></c:when></c:choose></em></p>
                        </li>
                        <li >
                        	<p>申请时间</p>
                        	<p><em><fmt:formatDate value="${company.submittime }" pattern="yyyy-MM-dd HH:mm"/></em></p>
                        </li>
                        <li >
                        	<p>审核时间</p>
                        	<p><em><fmt:formatDate value="${company.authtime }" pattern="yyyy-MM-dd HH:mm"/></em></p>
                        </li>
                	</ul>
                	
                	<c:if test="${not empty company.authcon }">
                	<div class="line8"></div>
                	<p style="text-align:center">${company.authcon }</p>
                	<div class="line8"></div>
                	</c:if>
                </div>
                <ul class="ente-info">
                	<li>
                    	<span>企业类型＊：</span>${company.typename }
                    </li>
                	<li>
                    	<span>营业执照注册号＊：</span>
                        ${company.idnum }
                    </li>
                	<li>
                    	<span>企业名称＊：</span>
                        ${company.name }
                    </li>
                	<li>
                    	<span>联系人＊：</span>
                        ${company.contacts }
                    </li>
                    <li>
                    	<span>手机号码＊：</span>
                        ${company.phone }
                    </li>
                    <li>
                    	<span>所属区域＊：</span>
                       	${company.province }${company.city }${company.region }
                    </li>
                    <li>
                    	<span>详细地址＊：</span>
                        ${company.address }
                    </li>
                    
                </ul>
                <div class="right-title"><span></span>企业资质信息 </div>
                <div class="ente-papers">
                	<ul class="papers-inner clearfix">
                		<li>
                        	<div class="title">企业营业执照</div>
                        	<div class="text">
                                <p>证件号码：${type1.idnum }</p>
                                <p>证件有效期：${type1.validity_start }至${type1.validity_end }</p>
                            </div>
                        	<div class="pic">
                        		<c:if test="${not empty type1.img }">
                            	<img src="<%=getRandomFileserver()%>${type1.img}" width="310" height="195" alt="">
                            	</c:if>
                            </div>
                        </li>
                        <li>
                        	<div class="title">药品经营（生产）许可证</div>
                        	<div class="text">
                                <p>证件号码：${type2.idnum }</p>
                                <p>证件有效期：${type2.validity_start }至${type2.validity_end }</p>
                            </div>
                        	<div class="pic">
                        		<c:if test="${not empty type2.img }">
                            	<img src="<%=getRandomFileserver()%>${type2.img}" width="310" height="195" alt="">
                            	</c:if>
                            </div>
                        </li>
                        <li>
                        	<div class="title">GSP证书</div>
                        	<div class="text">
                                <p>证件号码：${type3.idnum }</p>
                                <p>证件有效期：${type3.validity_start }至${type3.validity_end }</p>
                            </div>
                        	<div class="pic">
                        		<c:if test="${not empty type3.img }">
                            	<img src="<%=getRandomFileserver()%>${type3.img}" width="310" height="195" alt="">
                            	</c:if>
                            </div>
                        </li>
                	</ul>
                </div>        	
                
            </div>
        </div>
    </div>
</div>


<%@ include file="/website/common/foot.jsp"%>
</body>
</html>
<script>
var pluploaderObjs=[];
$(function(){
	setLeftCur("certification");
	
})

</script>